package org.person.demo.service;

import org.person.springcloud.models.CommonResult;
import org.person.springcloud.models.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentServiceImpl implements PaymentService {

    @Override
    public CommonResult<Payment> payment(Long id) {
        return new CommonResult<>(444, "服务降级返回", new Payment(id, null));
    }
}
